package com.hyl.controller;

import com.hyl.anno.login.Login;
import com.hyl.controller.base.BaseController;
import com.hyl.model.User;

/**
 * Created by huangyili on 2017/6/20.
 */
@Login
public class UserController extends BaseController {

    public void test(){
        User byId = User.dao.findById(1l);
        System.out.println(byId);
        renderJson(byId);
    }

}
